package com.beidu.lottery.call.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 活动数据信息对象
 * </p>
 *
 * @author 北渡
 * @since 2023-08-09
 */
@Data
@Builder
@ApiModel(value = "ActivityChartsVO")
@NoArgsConstructor
@AllArgsConstructor
public class ActivityChartsVO implements Serializable {

    @ApiModelProperty(value = "活动ID")
    private Integer id;

    @ApiModelProperty(value = "活动类型")
    private Integer activityType;

    @ApiModelProperty(value = "PV对象数据")
    private TotalAndDailyVO pv;

    @ApiModelProperty(value = "UV对象数据")
    private TotalAndDailyVO uv;

    @ApiModelProperty(value = "活动注册对象")
    private RegisterVO register;

    @ApiModelProperty(value = "活动当前累计消耗积分对象")
    private TotalAndDailyVO pointsConsume;

    @ApiModelProperty(value = "抽奖/报名/参与投票人次对象")
    private TotalAndDailyVO participation;

    @ApiModelProperty(value = "拉票人次对象--投票活动使用")
    private TotalAndDailyVO canvass;

    @ApiModelProperty(value = "获取积分对象--抽奖活动使用")
    private TotalAndDailyVO pointsObtain;

    @ApiModelProperty(value = "中奖人数对象--抽奖活动使用")
    private TotalAndDailyVO winLottery;

    @ApiModelProperty(value = "活动中奖率(小数，前端展示需x100)")
    private BigDecimal winRate;

}
